package com.coldchain.admin.template.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.*;

import java.io.Serializable;

/**
 * <p>
 * 系统计费模板
 * </p>
 *
 * @author fangliai
 * @since 2018-09-13
 */
@TableName("ch_expression_temp")
public class ExpressionTemp implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "tempId",type = IdType.UUID)
	private String tempId;
    /**
     * 模板名称
     */
	@TableField("tempName")
	private String tempName;
    /**
     * 备注
     */
	private String remark;
    /**
     * 是否启用
     */
	private Integer enabled;

    /**
     * 同城计费公式
     */
	private String wideCity;

    /**
     * 城际计费公式
     */
    private String interCity;


    private int isDefalut;

    @TableField
    private int deleteFlag;

    @Version
    private int vesion;
    /**
     * 创建人
     */
	@TableField("createTime")
	private Long createTime;
    /**
     * 创建时间
     */
	@TableField("createBy")
	private String createBy;


	public String getTempId() {
		return tempId;
	}

	public void setTempId(String tempId) {
		this.tempId = tempId;
	}

	public String getTempName() {
		return tempName;
	}

	public void setTempName(String tempName) {
		this.tempName = tempName;
	}

	public String getRemark() {
		return remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

	public Integer getEnabled() {
		return enabled;
	}

	public void setEnabled(Integer enabled) {
		this.enabled = enabled;
	}

    public String getWideCity() {
        return wideCity;
    }

    public void setWideCity(String wideCity) {
        this.wideCity = wideCity;
    }

    public String getInterCity() {
        return interCity;
    }

    public void setInterCity(String interCity) {
        this.interCity = interCity;
    }

    public int getIsDefalut() {
        return isDefalut;
    }

    public void setIsDefalut(int isDefalut) {
        this.isDefalut = isDefalut;
    }

    public int getDeleteFlag() {
        return deleteFlag;
    }

    public void setDeleteFlag(int deleteFlag) {
        this.deleteFlag = deleteFlag;
    }

    public int getVesion() {
        return vesion;
    }

    public void setVesion(int vesion) {
        this.vesion = vesion;
    }

    public Long getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Long createTime) {
		this.createTime = createTime;
	}

	public String getCreateBy() {
		return createBy;
	}

	public void setCreateBy(String createBy) {
		this.createBy = createBy;
	}

}
